﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Localization;
using SinBiota.Model.Entities.CustomAttributes;

namespace SinBiota.Model.Entities
{
    public class Log : BaseEntity
    {
        [LocalizedName("Date", NameResourceType = typeof(Strings))]
        public virtual DateTime Date { get; set; }

        [LocalizedName("User", NameResourceType = typeof(Strings))]
        public virtual string AuthUser { get; set; }

        public virtual string Thread { get; set; }

        [LocalizedName("Level", NameResourceType = typeof(Strings))]
        public virtual string Level { get; set; }

        public virtual string Logger { get; set; }


        [LocalizedName("Message", NameResourceType = typeof(Strings))]
        public virtual string Message { get; set; }
        public virtual string Exception { get; set; }
    }
}
